package com.eva.admin.dao.cms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eva.admin.biz.cms.resource.dto.QueryCmsResourceGroupDTO;
import com.eva.admin.biz.cms.resource.vo.CmsResourceGroupVO;
import com.eva.dao.cms.model.CmsResourceGroup;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface CmsResourceGroupMapper extends BaseMapper<CmsResourceGroup> {

    /**
     * 查询资源组
     *
     * @param dto QueryCmsResourceGroupDTO
     * @return List<CmsResourceGroupVO>
     */
    List<CmsResourceGroupVO> search(QueryCmsResourceGroupDTO dto);

}
